#coding=utf-8
__author__ = 'liubin'

from wtforms.form import Form
from wtforms.fields import StringField
from wtforms import validators

class RoleForm(Form):
    class Meta:
        locales = ['zh_CN', 'zh']
    code = StringField(u'编码', validators=[validators.data_required()])
    name = StringField(u'名称', validators=[validators.data_required()])